<!doctype html>
<html lang="zh-CH">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>央票通</title>
	<link rel="stylesheet" href="./resource/css/index.css">
	<link rel="stylesheet" href="./resource/css/user.css">
</head>
<body>
<?php $user_info = session_get(UserEnum::USER_INFO_SESSION_KEY);?>
<!-- 头部 -->
@include('common.index_head')
<!-- 个人中心 -->
<div class="cont-user">
	<!-- 个人中心头部 -->
	@include('common.user_head')
	<div class="user-center">
		<div class="main">
			<!-- 个人中心列表 -->
			@include('common.user_left')
			<div class="user-container left">
				<div class="user-account">
					<div class="title">
						<div class="span">待收收益：<span>￥ {{$user_info->user_wait_income}}.00</span></div>
						<div class="span cen">冻结资金：<span>￥ {{$user_info->user_frozen}}.00</span></div>
						<div class="span">我的奖励：<span>￥ {{$user_info->user_award}}.00</span></div>
					</div>
					<div class="line-chart">
						<div class="til">理财近况</div>
						<div id="canvas" class="chart"></div>
						<div class="chart-year">
							<a href="javascript:;" class="pre">&#60</a>
							<span class="year">2016</span>
							<a href="javascript:;" class="next">&#62</a>
						</div>
					</div>
					<div class="guess-love">
						<div class="til">猜你喜欢</div>
						<div class="box">
							@foreach($info as $k=>$v)
							<div class="pro">
								<div class="t-tle">{{$v->project_name}}</div>
								<div class="t-rate">{{$v->yield_rate}}</div>
								<div class="t-cont"><span>30天</span><span>35万</span></div>
								<a href="javascript:;" class="btn">立即投资</a>
							</div>
							@endforeach
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<!-- footer -->
@include('common.index_foot')
<script src="./resource/js/jquery-1.11.3.min.js"></script>
<script src="./resource/js/index.js"></script>	
<script src="./resource/js/echarts.js"></script>
<script src="./resource/js/chart_line_main.js"></script>
<script src="./resource/js/user.js"></script>

</body>
</html>